Skip to content

Conversation

@ElliotLurie
Copy link

Simple device tree files that should enable support for the Motorola Moto G7, but the boot loops.

If anyone has access to this device with a serial cable, that would be very helpful for debugging.

/ {
model = "Qualcomm Technologies, Inc. SDM632 + PMI632 MTP S3";
compatible = "qcom,sdm632-mtp", "qcom,sdm632", "qcom,mtp";
qcom,msm-id = <0x15d 0x00>;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
qcom,msm-id = <0x15d 0x00>;
qcom,msm-id = <QCOM_ID_SDM632 0>;

@@ -0,0 +1,29 @@
// SPDX-License-Identifier: GPL-2.0-only
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-License-Identifier: BSD-3-Clause

if possible, we try to align to the modern Linux practice for dts.

#include <motorola-carrier-channel-ids.dtsi>

/ {
model = "Qualcomm Technologies, Inc. SDM632 + PMI632 MTP S3";
Copy link
Member

@TravMurav TravMurav Oct 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which of the lines in / {} are actually required for the device to boot?

(edit: I now see the device didn't yet boot properly, we usually try to minimize the amount of stuff in / where possible, but that can be figured out later, when the device actually boots to lk2nd)

@barni2000
Copy link
Contributor

barni2000 commented Oct 28, 2025

Simple device tree files that should enable support for the Motorola Moto G7, but the boot loops.

If anyone has access to this device with a serial cable, that would be very helpful for debugging.

Since it is an SDM632 device you will need to make simple dtbo.img for your device. Here is some examples https://github.com/barni2000/dtbo-lk2nd. You can dump board-id from downstream dtbo.img with binwalk -e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants